package org.dong.Model;

import org.dong.Annotation.Colunm;

import java.math.BigDecimal;

public class User {
    @Colunm("id")
    private int id;//用户id
    @Colunm("username")
    private String username;//用户昵称
    @Colunm("account")
    private String account;//用户账号
    @Colunm("password")
    private String password;//用户密码
    @Colunm("password")
    private String phone;//用户手机
    @Colunm("level")
    private int level;//用户等级
    @Colunm("cloud_size")
    private BigDecimal cloud_size;//用户已用空间内存 单位字节
    @Colunm("level_cloud_size")
    private BigDecimal level_cloud_size;//用户总的内存空间

    @Colunm("level_name")
    private String level_name;//用户名称

    public User() {
    }

    public User(int id, String username, String account, String password, String phone, int level, BigDecimal cloud_size, BigDecimal level_cloud_size) {
        this.id = id;
        this.username = username;
        this.account = account;
        this.password = password;
        this.phone = phone;
        this.level = level;
        this.cloud_size = cloud_size;
        this.level_cloud_size = level_cloud_size;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public BigDecimal getCloud_size() {
        return cloud_size;
    }

    public void setCloud_size(BigDecimal cloud_size) {
        this.cloud_size = cloud_size;
    }

    public BigDecimal getLevel_cloud_size() {
        return level_cloud_size;
    }

    public void setLevel_cloud_size(BigDecimal level_cloud_size) {
        this.level_cloud_size = level_cloud_size;
    }

    public String getLevel_name() {
        return level_name;
    }

    public void setLevel_name(String level_name) {
        this.level_name = level_name;
    }
}
